<style lang="scss" scoped></style>

<template>
  <div class="root-page">
    <button class="btn" @click="signIn">登录</button>
    <button class="btn" @click="router.push({ name: 'main' })">进入</button>
  </div>
</template>

<script lang="ts" setup>
const { signIn } = useUser()
const router = useRouter()
</script>
